import 'package:flutter/material.dart';
import 'package:get/get.dart';

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('主页'),
      ),
      body: Column(
        children: [
          //1.按钮
          ElevatedButton(
            onPressed: (){
              //命名路由写法
              // Get.to(()=>111());
            },
            child: Text('拍照1'),
          ),
        ],
      )
    );
  }
}
